package com.example.course.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 学生查询参数对象，用于查询学生列表
 *
 * @author Jasmine-drs
 * @date 2025/4/22 16:30
 */
@Data
@ApiModel(value = "StudentQueryDTO", description = "学生查询参数对象")
public class StudentQueryDTO {

	@ApiModelProperty(value = "当前页码", required = true, example = "1")
	private Integer current = 1;

	@ApiModelProperty(value = "每页数量", required = true, example = "10")
	private Integer size = 10;

	@ApiModelProperty("学生姓名")
	private String name;

	@ApiModelProperty("学号")
	private String studentNum;

	@ApiModelProperty("性别，0为男，1为女")
	private Integer sex;

	@ApiModelProperty("班级ID")
	private Integer classesId;
} 